/**
 * fetch id
 * ibio-develop
 */
(function(){
var m_data = {};
chrome.extension.sendMessage({type:"getData", key:KEY_HE_DATA}, init);

function init(result){
	m_data = result;
	if(m_data.isWorking){
		m_data.uniqueId = $("#unique_id").val();
		chrome.extension.sendMessage({type:"setData", key:KEY_HE_DATA, value:m_data}, finish);
	}
}

function finish(){
	// trace("add.js m_data", m_data);
	//goto graph
	chrome.extension.sendMessage({type:"removePage"});
}

}).call(this);